package com.codechen.scaffold.news.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.codechen.scaffold.news.domain.entity.News;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.codechen.scaffold.news.domain.request.NewsQueryRequest;
import com.codechen.scaffold.news.domain.vo.NewsBaseVO;
import org.apache.ibatis.annotations.Param;


public interface NewsMapper extends BaseMapper<News> {

	IPage<NewsBaseVO> queryList(Page<NewsBaseVO> newsPage, @Param("req") NewsQueryRequest newsQueryRequest);

}
